package com.fomky.etlflow.api.metadata.handler;

import com.fomky.etlflow.api.metadata.service.DatasourceService;
import com.fomky.etlflow.common.entity.metadata.FlowDatasource;
import com.fomky.etlflow.common.vo.FlowResponse;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/v1/datasource")
public class DatasourceHandler {

    @Resource
    private DatasourceService datasourceService;

    @PostMapping("/search")
    public FlowResponse<FlowDatasource> search(){
        return FlowResponse.<FlowDatasource>builder().build();
    }

}
